package com.cade.agriculturemall.model;


import android.os.Parcel;

import com.avos.avoscloud.AVClassName;
import com.avos.avoscloud.AVObject;

@AVClassName("ProductStructure")
public class ItemModelOfDrawerListEntity extends AVObject {
    public int resId;
    public String tab;

    public ItemModelOfDrawerListEntity() {
    }

    public ItemModelOfDrawerListEntity(String theClassName) {
        super(theClassName);
    }

    public ItemModelOfDrawerListEntity(Parcel in) {
        super(in);
    }

    public ItemModelOfDrawerListEntity(int resId, String tab) {
        this.resId = resId;
        this.tab = tab;
    }

    public String getVariety(){
        return getString("name");
    }

    public int getSort(){
        return getInt("sort");
    }
}
